package com.gsnd.gsnd22estore.service;

import com.gsnd.gsnd22estore.domain.EsAddress;

import java.util.List;

public interface AddressService {

    List<EsAddress> getAllAddressByUserId(Integer userId);

    void createAddress(EsAddress address);

    void removeAddressById(Integer id);

    void editAddressInfo(EsAddress address);

    void changeDefaultAddress(Integer addressId,Integer userId);

    void setDefaultAddress(Integer addressId, Integer userId);
}

